package codej.ast;

import static codej.ast.Option.*;
import codej.ast.*;

public class ParExpression extends Expression {

	private final Expression expression;
	
	@Override
	public void accept(Visitor visitor) {
		visitor.visit(this);
	}
	
	public ParExpression(Expression expression) {
		this.expression = expression;
	}

	public Expression getExpression() {
		return option(expression, new Expression());
	}

}
